package com.xyu.gulimall.product.vo;

import com.xyu.gulimall.product.entity.CategoryEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Catelog2Vo {

    private String catalog1Id; //一级父分类
    private List<Catelog3Vo> catalog3List; //三级子分类
    private String id;
    private String name;


    //三级分类vo
    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    public static class Catelog3Vo{
        private String catelog2Id;
        private String id;
        private String name;
    }
}
